/**
  * Author: Mei
  * Date: 2021-01-10 14:12
  * Description: 不可变类
  *
  */
class NonCopyable {
protected:
    NonCopyable() = default;

    ~NonCopyable() = default;

    NonCopyable(const NonCopyable &) = delete; //禁用复制构造
    NonCopyable &operator=(const NonCopyable &) = delete;
};